package com.alibaba.citrus.cr.unified.inventory.dto.api.request;

/**
 * @description: 调拨单单据类型
 * @author: yuhw
 * @date: 2021年08月26日 11:15
 **/
public enum AllocateOrderType {
//    PLAN(1,"计划调拨"),
//    SHARED2SALES(2,"共享仓-销售单元仓"),
//    SHARED2SHARED(3,"共享仓-共享仓"),
//    SALES2SALES(4,"销售单元仓-销售单元仓"),
//    BORROWING(5,"跨销售单元借货"),
//    RETURN_GOODS(6,"跨销售单元还货"),
    PLAN_F2F1_F2SHARED(1,"总部工厂到共享仓(长保货品)"),
    PLAN_F2F1_F2KA(2,"总部工厂到垂直重客(KA)"),
    PLAN_F2F1_F2EC(3,"总部工厂到电商"),
    HEADQUARTERS_SALES_F2B(4,"总部工厂到销售单元仓(短保类货品)"),
    HEADQUARTERS_SALES_F12B(5,"共享仓到销售单元仓(提前锁定库存)"),
    HEADQUARTERS_SALES_F2b(6,"总部工厂直发客户"),
    SALES_B_B2B(7,"销售单元仓调拨到销售单元仓"),
    SALES_B_F12F1(8,"共享仓到销售单元仓"),
    SHARED_BORROWING_B2B_DIFFERENT(9,"跨销售组织之间借货调拨"),
    SHARED_BORROWING_B2B_SAME(10,"同销售组织多个共享仓之间的调拨")

    ;

    private int type;
    private String desc;

    AllocateOrderType(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public static void main(String[] args) {
        System.out.println(AllocateOrderStatus.Received.name());
    }
}
